import request from '../../request/request'

// 根据elderId获取所有账单信息
export function getAllFeeDetails(elderId) {
    return request({
        url: "/payment/getAllBillInfoByElderId",
        method: "POST",
        data: {
            elderId
        }
    });
}
// 充值\支付账单
export function payBillOrRecharge(elderId,money) {
    return request({
        url: "/payment/payBillOrRecharge",
        method: "POST",
        data: {
            elderId,
            money
        }
    });
}
